
const vm = new Vue({
	el: "body>article",
	data: {
		params: {},
		key: null,
		result: null,
		elderId:window.sessionStorage.getItem("elderId")
	},
	methods: {
		checkin: function() {
			axios.post(`/relative/${this.elderId}`, this.params).then(function(resp) {
				if(resp.code === "ok") {
					toast("操作成功");
				} else {
					toast(resp.message);
				}
			});
		}
	}
})